.class Lcom/nemustech/regina/ElementLocator$3;
.super Ljava/lang/Object;
.source "ElementLocator.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ElementLocator;->removeUselessWorkspaceViews(I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementLocator;

.field final synthetic val$fCenterViewIndex:I

.field final synthetic val$fLeftViewIndex:I

.field final synthetic val$fMode:I

.field final synthetic val$fRightViewIndex:I

.field final synthetic val$fWorkspaceViewCount:I

.field final synthetic val$fWorkspaceViewGroup:Landroid/view/ViewGroup;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementLocator;IIIILandroid/view/ViewGroup;I)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 348
    iput-object p1, p0, Lcom/nemustech/regina/ElementLocator$3;->this$0:Lcom/nemustech/regina/ElementLocator;

    iput p2, p0, Lcom/nemustech/regina/ElementLocator$3;->val$fWorkspaceViewCount:I

    iput p3, p0, Lcom/nemustech/regina/ElementLocator$3;->val$fLeftViewIndex:I

    iput p4, p0, Lcom/nemustech/regina/ElementLocator$3;->val$fCenterViewIndex:I

    iput p5, p0, Lcom/nemustech/regina/ElementLocator$3;->val$fRightViewIndex:I

    iput-object p6, p0, Lcom/nemustech/regina/ElementLocator$3;->val$fWorkspaceViewGroup:Landroid/view/ViewGroup;

    iput p7, p0, Lcom/nemustech/regina/ElementLocator$3;->val$fMode:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    .line 351
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    iget v1, p0, Lcom/nemustech/regina/ElementLocator$3;->val$fWorkspaceViewCount:I

    if-ge v0, v1, :cond_1

    .line 352
    iget v1, p0, Lcom/nemustech/regina/ElementLocator$3;->val$fLeftViewIndex:I

    if-eq v0, v1, :cond_0

    iget v1, p0, Lcom/nemustech/regina/ElementLocator$3;->val$fCenterViewIndex:I

    if-eq v0, v1, :cond_0

    iget v1, p0, Lcom/nemustech/regina/ElementLocator$3;->val$fRightViewIndex:I

    if-eq v0, v1, :cond_0

    .line 353
    iget-object v1, p0, Lcom/nemustech/regina/ElementLocator$3;->val$fWorkspaceViewGroup:Landroid/view/ViewGroup;

    iget-object v2, p0, Lcom/nemustech/regina/ElementLocator$3;->this$0:Lcom/nemustech/regina/ElementLocator;

    iget v3, p0, Lcom/nemustech/regina/ElementLocator$3;->val$fMode:I

    invoke-virtual {v2, v3, v0}, Lcom/nemustech/regina/ElementLocator;->getWorkspaceView(II)Lcom/nemustech/regina/WorkspaceView;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    .line 351
    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 356
    :cond_1
    return-void
.end method
